#!/bin/sh

niv=30000

if [ -z $1 ]; then
  niv=$1
fi

for img in *.ppm ; do
  ../extract_features_32bit.ln -harlap -sift -i $img -DC -harThres $niv
done

for file in *.sift ; do
  awk 'NR==2{print $0}' $file
done
